<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/login2" method="post">
    <div>
        姓名：<input name="username" value="{{ name }}"
             type="text">
    </div>
    <div>
        密码：<input name="passwd" value="{{ passwd }}"
            type="password">
    </div>
    <div>
        <input type="submit" value="登陆">
    </div>
</form>

</body>
</html>